package com.ccys.db.mapper;

import com.ccys.db.dto.discount.PromoCodeAutomatedDto;
import com.ccys.db.entity.TblPromoCodeAutomated;
import com.ccys.db.vo.discount.PromoCodeAutomatedPageQueryVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * Created by Mybatis Generator on 2023/12/15
 */
public interface TblPromoCodeAutomatedMapper extends Mapper<TblPromoCodeAutomated>, MySqlMapper<TblPromoCodeAutomated> {
    List<PromoCodeAutomatedPageQueryVo> findPagePromoCodeAutomated(PromoCodeAutomatedDto dto);

    List<TblPromoCodeAutomated> test(@Param("str") String str);

    List<TblPromoCodeAutomated> findListByEmail(@Param("email") String email, @Param("memberId") String memberId);
}